package com.swallow.auth.common.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: 18310740596@163.com
 * @date: 2024-05-10 23:36:14
 * @version: v1.0
 * @describe: 通用返回类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> implements Serializable {
    /**
     *  状态码
     */
    private String code;

    /**
     *  状态信息
     */
    private String msg;

    /**
     *  响应数据
     */
    private T data;
}
